import {request} from "@/utils/request";


// 基础服务
export class BaseService {
    baseUrl: string = "/api/base"

    // 登录
    loginReq = (data: BaseVo.LoginReq) => {
        return request<BaseResp<BaseVo.LoginResp>>({
            url: `${this.baseUrl}/login`,
            method: "POST",
            data: data
        })
    }
}


